﻿namespace Runtime.Services.Battle {

    /// <summary>
    /// 战场格子配置
    /// </summary>
    public readonly struct DFR_BattleGridOption {

        /// <summary>
        /// 水平数量
        /// </summary>
        public uint HorizontalCount { get; init; }

        /// <summary>
        /// 垂直数量
        /// </summary>
        public uint VerticalCount { get; init; }

        /// <summary>
        /// 单元格总数
        /// </summary>
        public uint CellCount => HorizontalCount * VerticalCount;
    }
}
